package proxydroid.org.proxydroid;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

/**
 * Created by win7 on 2016/7/30.
 */
public class GsonSerializable {
    public String toJson(){
        Gson gson = new GsonBuilder().excludeFieldsWithoutExposeAnnotation().create();
        return gson.toJson(this);
    }
}
